package com.bus.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bus.entity.Role;
import com.bus.mapper.RoleMapper;

@Service("roleService")
public class RoleServiceImp implements RoleService {

	@Autowired
	RoleMapper rm;

	@Override
	public int addRole(Role ro) {

		return rm.insertRole(ro);
	}

}
